<div class="item" id="listed-bill-<%= listed_bill.id %>">
  <div id="options">
    <%= link_to_remote (image_tag 'icons/delete.png'), :url => { :action => 'delete', :id => listed_bill }, :confirm => 'Are you sure?' %>
    <%= link_to_remote (image_tag 'icons/explore.png'), :url => { :action => 'show', :id => listed_bill } %>
  </div>
  <div id="name"><%= listed_bill.name %></div>
  <div id="details"><%= listed_bill.details %> (<%= distance_of_time_in_words_to_now(listed_bill.due) %><%= ' ago' if listed_bill.due < Time.now.to_date %>)</div>
</div>
